<!-- 剪切图片 -->
<div class="uppic-cropbox">
  <div class="cropbox">
    <img class="cropp-img">
  </div>

  <div class="cropbox-tip">
    两手指按住图片放大缩小
  </div>

  <div class="aspect-ratios" *ngIf="useRatio">
    <div class="btn aspectRatio{{i}}" [ngClass]="{'active': selectAspectRatio == i}" *ngFor="let aspectRatio of aspectRatios; let i = index;" (click)="changeAspecRatio(i)">
      <span class="label" title="aspectRatio: {{aspectRatio.name}}">
        {{aspectRatio.name}}
      </span> 
    </div>
  </div>

  <div class="operation">
    <button class="cancel ico-close" (click)="cancelCropper()">取消</button>
    <button class="confirm ico-check" (click)="getCroppedCanvas(cropcb)">确认</button>
  </div>
</div>